﻿@using ZBJF.Warranty.WebProvider
@{
    ViewBag.Title = "操作日志";
}
@Scripts.Render("~/bundles/datatable")
@Styles.Render("~/Content/datatable")
<div class="table-responsive dataTables_wrapper">
    <table id="opreateLogList" class="table table-striped table-bordered table-hover">
        <thead>
        <tr>
            <th width="20">序号</th>
            <th width="100">修改主题</th>
            <th width="100">修改详细内容</th>
            <th width="100">修改人</th>
            <th width="80">修改时间</th>
            <th width="80">耗时</th>
        </tr>
        </thead>
    </table>
</div>
<script type="text/javascript">
    $(function () {
        var objTable = $("#opreateLogList")
            .dataTable({
                "sAjaxSource": "/OpreateLogs/Index?LogTableName=@(PageData["LogTableName"])&LogTablePKID=@(PageData["LogTablePKID"])",
                aoColumns: [
                    {
                        "mData": null, "fnRender": function (nRow) {
                            return nRow.iDataRow + 1;
                        }
                    },
                    { "mData": "LogSubject" },
                    { "mData": "LogContent",sClass:"left" },
                    { "mData": "OpreateUserAccount" },
                    { "mData": "CreatedTime" },
                    { "mData": "CostTotalSecond" }
                ]
            });
    });
</script>



